package com.cpp.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cpp.common.result.PageResult;
import com.cpp.pojo.dto.exam.ExamCreateDTO;
import com.cpp.pojo.dto.exam.ExamPageDTO;
import com.cpp.pojo.dto.exam.ExamSubmitDTO;
import com.cpp.pojo.pojo.Exam;
import com.cpp.pojo.vo.exam.ExamPaperVO;
import com.cpp.pojo.vo.question.QuestionCreateConfirmVO;
import com.cpp.pojo.vo.summary.ExamReport;

/**
* @author 34044
* @description 针对表【exam(考试表)】的数据库操作Service
* @createDate 2025-05-12 10:50:05
*/
public interface ExamService extends IService<Exam> {

    void createExam(ExamCreateDTO examCreateDTO);

    PageResult pageExam(ExamPageDTO examPageDTO);

    ExamPaperVO startExam(Long examId);

    void submitExam(ExamSubmitDTO examSubmitDTO);

    Integer getExamScore(Long examId);

    ExamReport analysisReport(Long examId);


    QuestionCreateConfirmVO getExamQuestionConfirm(Long examId);

    QuestionCreateConfirmVO getExamQuestionNoConfirm();
}
